package com.by.yz.entity;

import java.io.Serializable;

/**医生表
 * Created by mrs yang on 2016/10/26.
 */
public class Doctorbean implements Serializable{
   private  String headimage;
    private  String doctorname;
    private  String school;
    private  Hospital hospital;
    private  Department department;
    private  String resume;
    private  String position;
    private Integer id;
    private int workingyears;//工作经验
    private String login;//用户id
    private String country;//国家
    private boolean flag;

    public Doctorbean(){}

    public Doctorbean(Hospital hospital, Department department, String login,String resume,String position,String school,String doctorname,String headimage,Integer id,boolean flag) {
        this.hospital = hospital;//所属医院
        this.department = department;//科室
        this.headimage = headimage;//头像
        this.login = login;//注册手机号
        this.resume=resume;//医生介绍
        this.position=position;//医生地位
        this.school=school;
        this.doctorname=doctorname;
        this.id=id;
        this.flag=flag;
    }
    public boolean getFlag(){return flag;}
    public void setFlag(boolean flag){this.flag=flag;}
    public Hospital getTextHospital() {
        return hospital;
    }

    public void setTextHospital(Hospital hospital) {
        this.hospital = hospital;
    }

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public String getmImageView() {
        return headimage;
    }

    public void setmImageView(String headimage) {
        this.headimage = headimage;
    }

    public String getDoctorname(){return doctorname;}

    public void setDoctorname(String doctorname) {
        this.doctorname = doctorname;
    }
    public String getSchool() {
        return school;
    }
    public void setSchool(String school) {
        this.school = school;
    }
    public  String getResume(){return resume;}
    public void setResume(String  resume){this.resume=resume;}
    public  String getPosition(){return position;}
    public void setPosition(String position){this.position=position;}
    public void setId(Integer id){
        this.id=id;
    }
    public Integer getId(){
        return id;
    }
    public void setLogin(String login){
        this.login=login;
    }
    public String getLogin(){
        return login;
    }
    public void setWorkingyears(int workingyears){
        this.workingyears=workingyears;
    }
    public int getWorkingyears(){
        return workingyears;
    }
    public void setCountry(String country){
        this.country=country;
    }
    public String getCountry(){
        return country;
    }
}
